<link href="$!webPath/resources/style/common/css/window.css" type="text/css" rel="stylesheet" />
<script>
jQuery(document).ready(function(){
  //								
 jQuery("#theForm").validate({
	ignore: "",
    rules:{
	  album_name:{required :true}
	 },
	messages:{
	  album_name:{required :"相册名称不能为空"}  
	}
  });
 //
 jQuery("#pid").val("$!obj.parent.id");
 jQuery(":radio[id=display][value=$!obj.display]").attr("checked",true);
});
</script>
<form action="$!webPath/seller/album_save.htm" method="post" id="theForm">
<table style="float:left;" width="100%" border="0" cellspacing="0" cellpadding="0" class="box_table">
    <tr>
      <td width="120" align="right" class="hui_table"><input name="id" type="hidden" id="id" value="$!obj.id" />
      相册名称:</td>
      <td align="left"><span class="dia_txt">
        <input name="album_name" type="text" id="album_name" value="$!obj.album_name" />
      </span></td>
    </tr>
    <tr>
      <td width="120" align="right" class="hui_table">相册序号:</td>
      <td align="left"><span class="dia_txt">
        <input name="album_sequence" type="text" id="album_sequence" value="$!obj.album_sequence" />
      </span></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><span class="inputbtn">
        <input name="" type="submit" value="提交" style="cursor:pointer;"/>
        <input name="currentPage" type="hidden" id="currentPage" value="$!currentPage" />
        </span></td>
    </tr>
  </table>
</form>
